Is there a way to apply multiple colours to the same repeated part in a render

Hello, Im looking to try and render this image with the top part being a variation of colours in the same render, do i have to add the each colour individually or can i use the material graph to say i want the colours to be from colour A to colour F on each individual part.

The effect i want to achieve is a rainbow of colours,

Thanks

Afraid you have to create multimateral with manually picked color for each one. Of course, you can use one material with radial gradient linked to diffuse color, but it will be kinda tricky to tune it in a way where each separate sector have only one color.

Another option would be to render them all in white and edit it in something like photoshop with help from the clown-pass depending on the degree of accuracy you want

Great, thanks for your help, I will just to it manually then. Just checking beforehand there wasn’t an easier automated way !

How about this method?
I placed one pen and created a circular pattern (10 instances).
Then exported this model set content as OBJ and re-imported the file to another model set. With the import option, “keep individual parts” was toggled off, so the parts are forced to merge (all tips as one part). This enables to use a gradient (a texture in my case, but a circular fade should work as well). The texture was placed in the middle of the scene and covered all pens.

You can explore the scene. A KeyShot 11 KSP is embedded in the attached ppt. Just open the slide and activate the Object (RMB menu)
pen with gradient tips.ksp.pptx (11.7 MB)

Hope that helps to find a better solution instead of post work.

CheerEO
Marco

3 Likes

Cheers Marco, i will give your scene a look this evening! thanks fo you help and sugestion.